package com.fortune.funcjar;

import java.io.Serializable;
import java.util.List;

/**
 * 用户实体
 */
public class UserBean implements Serializable {
    private long UserId;
    private String UserName;
    private String Pwd;
    private String LoginName;
    private List<WorkCenters> WorkCenters;
    private List<Roles> Roles;

    public long getUserId() {
        return UserId;
    }

    public void setUserId(long UserId) {
        this.UserId = UserId;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String UserName) {
        this.UserName = UserName;
    }

    public String getPwd() {
        return Pwd;
    }

    public void setPwd(String Pwd) {
        this.Pwd = Pwd;
    }

    public String getLoginName() {
        return LoginName;
    }

    public void setLoginName(String LoginName) {
        this.LoginName = LoginName;
    }

    public List<WorkCenters> getWorkCenters() {
        return WorkCenters;
    }

    public void setWorkCenters(List<WorkCenters> WorkCenters) {
        this.WorkCenters = WorkCenters;
    }

    public List<Roles> getRoles() {
        return Roles;
    }

    public void setRoles(List<Roles> Roles) {
        this.Roles = Roles;
    }

    public static class WorkCenters implements Serializable {
        private int WorkCenterId;
        private String WorkCenterName;
        private String WorkCenterCode;

        public int getWorkCenterId() {
            return WorkCenterId;
        }

        public void setWorkCenterId(int WorkCenterId) {
            this.WorkCenterId = WorkCenterId;
        }

        public String getWorkCenterName() {
            return WorkCenterName;
        }

        public void setWorkCenterName(String WorkCenterName) {
            this.WorkCenterName = WorkCenterName;
        }

        public String getWorkCenterCode() {
            return WorkCenterCode;
        }

        public void setWorkCenterCode(String WorkCenterCode) {
            this.WorkCenterCode = WorkCenterCode;
        }
    }

    public static class Roles implements Serializable {
        private String RoleName;
        private String RoleCode;
        private String RoleNote;

        public String getRoleName() {
            return RoleName;
        }

        public void setRoleName(String RoleName) {
            this.RoleName = RoleName;
        }

        public String getRoleCode() {
            return RoleCode;
        }

        public void setRoleCode(String RoleCode) {
            this.RoleCode = RoleCode;
        }

        public String getRoleNote() {
            return RoleNote;
        }

        public void setRoleNote(String RoleNote) {
            this.RoleNote = RoleNote;
        }
    }
}
